<template>
	<div id="app">
		<leftNav></leftNav>
		<!--这里是放入我们刚刚新建的leftNav.vue的地方-->
		<div class="main">
			<router-view/>

		</div>
	</div>
</template>

<script>
	import leftNav from '@/components/common/leftNav';

	export default {
		name: 'App',
		components: {
			leftNav
		}
	}
</script>

<style>
	* {
		padding: 0;
		margin: 0;
		box-sizing: border-box;
	}
	
	#app {
		font-family: 'Avenir', Helvetica, Arial, sans-serif;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		text-align: center;
		color: #2c3e50;
	}
	
	.main {
		float: left;
		min-height: 600px;
		width: 95%;
		background-color: #EFF2F7;
		overflow: auto;
	}
</style>